﻿# CMakeList.txt: 顶层 CMake 项目文件，在此处执行全局配置
# 并包含子项目。
#
project ("ConfigPlugin")

file(GLOB ConfigPlugin_CC *.cc)
file(GLOB ConfigPlugin_HH *.h)
add_library(ConfigPlugin STATIC ${ConfigPlugin_HH} ${ConfigPlugin_CC})

add_dependencies(ConfigPlugin Protocol)

target_link_libraries(ConfigPlugin Protocol)

set_target_properties(ConfigPlugin PROPERTIES OUTPUT_NAME_DEBUG "ConfigPlugin")
set_target_properties(ConfigPlugin PROPERTIES OUTPUT_NAME "ConfigPlugin")
set_target_properties(ConfigPlugin PROPERTIES PREFIX "")
set_target_properties(ConfigPlugin PROPERTIES 
	ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}
	RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}
	LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR})